
<table id="article" class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
	<thead>
		<tr class="text-c">
			<th width="25"><input type="checkbox" name="" value=""></th>
			<th width="80">ID</th>
			<th>标题</th>
			<th width="80">分类</th>
			<th width="80">作者</th>
			<th width="120">时间</th>
			<th width="75">浏览次数</th>
			<th width="60">发布状态</th>
			<th width="120">操作</th>
		</tr>
	</thead>
	<tbody>
		@if($artdata->isEmpty())
		    没有了
		@else	
		@foreach ($artdata as $art)
		<tr class="text-c">
			<td><input type="checkbox" value="" name=""></td>
			<td>{{$art ->id}}</td>
			<td class="text-l"><u style="cursor:pointer" class="text-primary" onClick="article_edit('{{$art ->title}}','/admin/article/preview?id={{$art ->id}}','10001')" title="查看">{{$art ->title}}</u></td>
			<td>{{$art ->name}}</td>
			<td>{{$art ->username}}</td>
			<td>{{date('Y-m-d H:i:s',$art ->time)}}</td>
			<td>{{$art ->praise}}</td>
			<td class="td-status"><span class="label label-success radius">已发布</span></td>
			<td class="f-14 td-manage"><a style="text-decoration:none" onClick="article_stop(this,'10001')" href="javascript:;" title="下架"><i class="Hui-iconfont">&#xe6de;</i></a> <a style="text-decoration:none" class="ml-5" onClick="article_edit('资讯编辑','/admin/article/articleedit?id={{$art ->id}}','10001')" href="javascript:;" title="编辑"><i class="Hui-iconfont">&#xe6df;</i></a> <a style="text-decoration:none" class="ml-5" onClick="article_del(this,'10001')" href="javascript:;" title="删除"><i class="Hui-iconfont">&#xe6e2;</i></a></td>
		</tr>
		@endforeach
		@endif
	</tbody>
</table>
	